package com.anyou.mall.platform.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
* @Description: 配送费dto
* @author: ylj
* @date: 2022/3/23 17:44
*/
@Data
@ApiModel(value = "配送费DTO")
public class DistributionPriceDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "每增加公里")
    @NotNull(message = "每增加公里不能为空")
    private Double kilometre;

    @ApiModelProperty(value = "每增加费用")
    @NotNull(message = "每增加费用不能为空")
    private BigDecimal price;

//    @ApiModelProperty(value = "最大载重（kg）")
//    private int maxLoadNumber;
//
//    @ApiModelProperty(value = "最大容量（立方米）")
//    private int maxVolumeNumber;

    @ApiModelProperty(value = "费用规则list")
    @NotNull(message = "费用规则list不能为空")
    private List<CurrencyPriceDTO> list;


}
